const github.com/klauspost/compress/internal/snapref.magicChunk
12 uses
github.com/klauspost/compress/internal/snapref (current package)
encode.go#L218: obufStart := len(magicChunk)
encode.go#L221: copy(w.obuf, magicChunk)
encode.go#L246: w.obuf[len(magicChunk)+0] = chunkType
encode.go#L247: w.obuf[len(magicChunk)+1] = uint8(chunkLen >> 0)
encode.go#L248: w.obuf[len(magicChunk)+2] = uint8(chunkLen >> 8)
encode.go#L249: w.obuf[len(magicChunk)+3] = uint8(chunkLen >> 16)
encode.go#L250: w.obuf[len(magicChunk)+4] = uint8(checksum >> 0)
encode.go#L251: w.obuf[len(magicChunk)+5] = uint8(checksum >> 8)
encode.go#L252: w.obuf[len(magicChunk)+6] = uint8(checksum >> 16)
encode.go#L253: w.obuf[len(magicChunk)+7] = uint8(checksum >> 24)
snappy.go#L61: magicChunk = "\xff\x06\x00\x00" + magicBody
snappy.go#L80: obufHeaderLen = len(magicChunk) + checksumSize + chunkHeaderSize
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |